package com.interview.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.interview.bean.Actor;
import com.interview.dao.ActorMapper;
import com.interview.service.ActorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @ClassName: ActorServiceImpl
 * @Author: Donnie
 * @Date: 2022/4/4 15:19
 * @Description:  基于MybatisPlus，建立基本CRUD的ServiceImpl
 */
@Service
public class ActorServiceImpl extends ServiceImpl<ActorMapper, Actor> implements ActorService {
    @Autowired
    ActorMapper actorMapper;

    public Actor selectOneActor(Integer actorId) {
        return actorMapper.selectOneActor(actorId);
    }
}
